package com.fc.mall.model;

import java.io.Serializable;
import java.util.Date;

public class UmsMemberInviteHistory implements Serializable {
    /**
     * 主键
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * 会员id
     *
     * @mbggenerated
     */
    private Long memberId;

    /**
     * 邀请时，用户的等级id
     *
     * @mbggenerated
     */
    private Long memberLevelId;

    /**
     * 邀请的新会员id
     *
     * @mbggenerated
     */
    private Long childMemberId;

    /**
     * 邀请时间
     *
     * @mbggenerated
     */
    private Date inviteTime;

    /**
     * 是否是有效邀请 1-> 是有效的邀请 0->无效邀请
     *
     * @mbggenerated
     */
    private Integer effective;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getMemberLevelId() {
        return memberLevelId;
    }

    public void setMemberLevelId(Long memberLevelId) {
        this.memberLevelId = memberLevelId;
    }

    public Long getChildMemberId() {
        return childMemberId;
    }

    public void setChildMemberId(Long childMemberId) {
        this.childMemberId = childMemberId;
    }

    public Date getInviteTime() {
        return inviteTime;
    }

    public void setInviteTime(Date inviteTime) {
        this.inviteTime = inviteTime;
    }

    public Integer getEffective() {
        return effective;
    }

    public void setEffective(Integer effective) {
        this.effective = effective;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", memberLevelId=").append(memberLevelId);
        sb.append(", childMemberId=").append(childMemberId);
        sb.append(", inviteTime=").append(inviteTime);
        sb.append(", effective=").append(effective);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}